#include <assert.h>
#include "resource.h"
#include "SimpleWnd/SimpleWnd.h"
#include "SplitterWnd.h"
#include "InfoWindow.h"
#include "CanvasContainer.h"
#include "ErrorLogDlg.h"

#define DISPLAY_PANE_CLASS "TROPHY DISLAY PANE"

class CLogoDisplayPane :
    public CSplitterWindow,
    public IPaneWindow
{
public:
    CLogoDisplayPane();
    virtual ~CLogoDisplayPane();

BEGIN_MSG_MAP(CLogoDisplayPane)
    MESSAGE_HANDLER(WM_SIZE, OnSize)
    CHAIN_MSG_MAP(CSplitterWindow)
END_MSG_MAP()

    //IPaneWindow interface
    virtual HWND CreatePaneWindow(HWND hParent, RECT& rc, DWORD dwStyle, DWORD dwExStyle);

    void ClearAllInfo();

protected:
    LRESULT OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);

public:
    CInfoWindow             m_info;
    CErrorLogDlg            m_dlgError;
    HWND                    m_hParent;
    CCanvasContainer        m_container;
};

